<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过滤器</title>
</head>
<body>
    <p>format:{{ "%s - %s"|format("1", "2") }}</p>
    <p>upper:{{ 'name' | upper }}</p>
    <p>truncate过滤器的算法有点奇怪，请参考/Desktop/Test/python/jinja2_truncate.py:{{ "foo bar baz qux"|truncate(9) }}</p>
</body>
</html>